<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
  <f:layout name="Default" />

  This template displays a EDIT form for the current domain object.

  If you modify this template, do not forget to change the overwrite settings
  in /Configuration/ExtensionBuilder/settings.yaml:
    Resources:
      Private:
        Templates:
          Edit.html: keep

  Otherwise your changes will be overwritten the next time you save the extension in the extension builder

  <f:section name="content">
    <f:flashMessages />
    <link rel="stylesheet" type="text/css" href="{f:uri.resource(path:'Css/style.css')}" />
    <f:render partial="FormErrors" />
    <div class="portlet light form">
        <f:form action="update" id="photoEdit" enctype="multipart/form-data"  name="photos" object="{photos}" class="form-horizontal">
        <fieldset>
          <div class="portlet-title">
            <legend>修改照片</legend>
          </div>
          <div class="portlet-body">
            <div class="form-body">
    			<f:render partial="Photos/FormFields" arguments="{_all}" />
            </div>
            <div class="form-buttons">
                <f:form.submit class="btn btn-success" value="保存"/>
                <f:link.action action="list" arguments="{album:albumuid}" class="btn btn-default">返回列表</f:link.action>
            </div>
          </div>
        </fieldset>
      </f:form>
    </div>
    <script src="{f:uri.resource(path:'JavaScript/common.js')}" ></script>
  </f:section>
</html>